package com.cloudcc.mobile.entity.chat;

import com.cloudcc.mobile.entity.EntityBase;
import com.lidroid.xutils.db.annotation.Column;
import com.lidroid.xutils.db.annotation.Table;
/**
 * chat消息对象
 * @author Administrator
 *{“messageType”:”message”,”function”:”showmsg”“content”:"推送内容",
 *”relatedId”:”XXXXXX”，"chatterType":""}  
 */

@Table(name = "ChatMessage")
public class ChatMessage extends EntityBase{
	@Column(column = "context")
	private String context;
	@Column(column = "isNew")
	private String isNew;
	@Column(column = "relatedId")
	private String relatedId;
	@Column(column = "chatterType")
	private String chatterType;
	@Column(column = "time")
	private String time;
	public ChatMessage(String context, String isNew, String relatedId,
			String chatterType, String time) {
		super();
		this.context = context;
		this.isNew = isNew;
		this.relatedId = relatedId;
		this.chatterType = chatterType;
		this.time = time;
	}
	public ChatMessage() {
		super();
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public String getIsNew() {
		return isNew;
	}
	public void setIsNew(String isNew) {
		this.isNew = isNew;
	}
	public String getRelatedId() {
		return relatedId;
	}
	public void setRelatedId(String relatedId) {
		this.relatedId = relatedId;
	}
	public String getChatterType() {
		return chatterType;
	}
	public void setChatterType(String chatterType) {
		this.chatterType = chatterType;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	
	
}
